package com.ruoyi.washer.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 终端经营用户对象 xw_enduser
 *
 * @author hawking
 * @date 2023-12-15
 */
public class XwEnduser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 终端经营用户id */
    private Long enduserId;

    /** 小程序openid */
    @Excel(name = "小程序openid")
    private String enduserOpenId;

    /** 终端用户名字 */
    @Excel(name = "终端用户名字")
    private String enduserName;

    /** 终端用户电话 */
    @Excel(name = "终端用户电话")
    private String enduserPhone;

    /** 终端用户地址 */
    @Excel(name = "终端用户地址")
    private String enduserAddress;

    /** 绑定状态 */
    @Excel(name = "绑定状态")
    private String bindState;

    /** 冻结状态 */
    @Excel(name = "冻结状态")
    private String freezeState;

    /** 邀请码 */
    @Excel(name = "邀请码")
    private String activationCode;

    /** 创建时间 */
    private Date createdTime;

    /** 更新时间 */
    private Date updatedTime;

    private String cashoutType;
    private String enduserMerchantCode;
    private String enduserMerchantName;


    private String enduserBusiness01;
    private String enduserBusiness02;
    private BigDecimal businessPercent01;
    private BigDecimal businessPercent02;
    private BigDecimal businessRentPercent01;
    private BigDecimal businessRentPercent02;

    public BigDecimal getBusinessRentPercent01() {
        return businessRentPercent01;
    }

    public void setBusinessRentPercent01(BigDecimal businessRentPercent01) {
        this.businessRentPercent01 = businessRentPercent01;
    }

    public BigDecimal getBusinessRentPercent02() {
        return businessRentPercent02;
    }

    public void setBusinessRentPercent02(BigDecimal businessRentPercent02) {
        this.businessRentPercent02 = businessRentPercent02;
    }

    public String getEnduserBusiness01() {
        return enduserBusiness01;
    }

    public void setEnduserBusiness01(String enduserBusiness01) {
        this.enduserBusiness01 = enduserBusiness01;
    }

    public String getEnduserBusiness02() {
        return enduserBusiness02;
    }

    public void setEnduserBusiness02(String enduserBusiness02) {
        this.enduserBusiness02 = enduserBusiness02;
    }

    public BigDecimal getBusinessPercent01() {
        return businessPercent01;
    }

    public void setBusinessPercent01(BigDecimal businessPercent01) {
        this.businessPercent01 = businessPercent01;
    }

    public BigDecimal getBusinessPercent02() {
        return businessPercent02;
    }

    public void setBusinessPercent02(BigDecimal businessPercent02) {
        this.businessPercent02 = businessPercent02;
    }

    public String getCashoutType() {
        return cashoutType;
    }

    public void setCashoutType(String cashoutType) {
        this.cashoutType = cashoutType;
    }

    public String getEnduserMerchantCode() {
        return enduserMerchantCode;
    }

    public void setEnduserMerchantCode(String enduserMerchantCode) {
        this.enduserMerchantCode = enduserMerchantCode;
    }

    public String getEnduserMerchantName() {
        return enduserMerchantName;
    }

    public void setEnduserMerchantName(String enduserMerchantName) {
        this.enduserMerchantName = enduserMerchantName;
    }

    public void setEnduserId(Long enduserId)
    {
        this.enduserId = enduserId;
    }

    public Long getEnduserId()
    {
        return enduserId;
    }
    public void setEnduserOpenId(String enduserOpenId)
    {
        this.enduserOpenId = enduserOpenId;
    }

    public String getEnduserOpenId()
    {
        return enduserOpenId;
    }
    public void setEnduserName(String enduserName)
    {
        this.enduserName = enduserName;
    }

    public String getEnduserName()
    {
        return enduserName;
    }
    public void setEnduserPhone(String enduserPhone)
    {
        this.enduserPhone = enduserPhone;
    }

    public String getEnduserPhone()
    {
        return enduserPhone;
    }
    public void setEnduserAddress(String enduserAddress)
    {
        this.enduserAddress = enduserAddress;
    }

    public String getEnduserAddress()
    {
        return enduserAddress;
    }
    public void setBindState(String bindState)
    {
        this.bindState = bindState;
    }

    public String getBindState()
    {
        return bindState;
    }
    public void setFreezeState(String freezeState)
    {
        this.freezeState = freezeState;
    }

    public String getFreezeState()
    {
        return freezeState;
    }
    public void setActivationCode(String activationCode)
    {
        this.activationCode = activationCode;
    }

    public String getActivationCode()
    {
        return activationCode;
    }
    public void setCreatedTime(Date createdTime)
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime()
    {
        return createdTime;
    }
    public void setUpdatedTime(Date updatedTime)
    {
        this.updatedTime = updatedTime;
    }

    public Date getUpdatedTime()
    {
        return updatedTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("enduserId", getEnduserId())
            .append("enduserOpenId", getEnduserOpenId())
            .append("enduserName", getEnduserName())
            .append("enduserPhone", getEnduserPhone())
            .append("enduserAddress", getEnduserAddress())
            .append("bindState", getBindState())
            .append("freezeState", getFreezeState())
            .append("activationCode", getActivationCode())
            .append("createBy", getCreateBy())
            .append("createdTime", getCreatedTime())
            .append("updateBy", getUpdateBy())
            .append("updatedTime", getUpdatedTime())
            .toString();
    }
}
